<%= mensajes_de_error_para 'course' %>

<!--[form:course]-->
<p><label for="course_name">Nombre</label><br/>
<%= text_field 'course', 'name'  %></p>

<p><label for="course_description">Descripcion</label><br/>
<%= text_area 'course', 'description'  %></p>

<% if @course.nil? or @course.new_record? or not @course.id = 1 -%>
  <p><label for="course_date">Fecha de expiración</label><br/>
  <%= datetime_select 'course', 'end_date', { :discard_minute => true, :user_month_numbers => true, :start_year => Time.now.year, :end_year => 10.years.from_now.year } %>
  </p>
<% end -%>
<!--[eoform:course]-->

